package com.scau.hwadee.examination.mapper;

import com.scau.hwadee.examination.entity.Course;
import com.scau.hwadee.examination.entity.Unifiedexamschedule;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *@author YHX
 *@date 2019/7/29  9:02
 *@description
 */
public interface UnifiedexamscheduleMapper {
    int deleteByPrimaryKey(@Param("csId") String csId, @Param("esId") String esId);

    int insert(Unifiedexamschedule record);

    int insertList(@Param("list") List<Unifiedexamschedule> us);

    int insertSelective(Unifiedexamschedule record);

    Unifiedexamschedule selectByPrimaryKey(@Param("csId") String csId, @Param("esId") String esId);

    int updateByPrimaryKeySelective(Unifiedexamschedule record);

    int updateByPrimaryKey(Unifiedexamschedule record);

    int insertunifiedexamscheduleListByExcel(@Param("list") List<Unifiedexamschedule> unifiedexamschedule);

    List<Course> selectAllCourseByExamSession(@Param("pageNum")int pageNum,
                                              @Param("pageSize")int pageSize,
                                              @Param("examSessionId") String examSession);
}